package com.igroupes.ovineherd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode
@Data
@Accessors(chain = true)
@TableName(value = "sequence")
public class SequenceEntity {
    @TableId(type = IdType.AUTO)
    private long id;
    private String key;
    private Long currentValue;
    private Long increment;
    private Long min;
    private Long max;
}
